<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2017/1/18
 * Time: 17:02
 */

class ArticleModel extends Model{
    public $table = 'article';
    //添加文章
    public function add($data){
       echo $this->insert($data);
    }
}